home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / www / src / midaswww-1.0 / SGMLAnchorTextP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-16  |  1.8 KB  |  53 lines

  1. /*==================================================================*/
  2. /*                                                                  */
  3. /* SGMLAnchorTextObject                                             */
  4. /*                                                                  */
  5. /* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu)           June.92   */
  6. /*                                                                  */
  7. /* Defines a anchortext segment for the SGMLHyper widget            */   
  8. /*                                                                  */
  9. /*==================================================================*/
  10.  
  11. #ifndef SGMLANCHORTEXTP_H
  12. #define SGMLANCHORTEXTP_H
  13.  
  14. #include "SGMLAnchorText.h"
  15. #include "SGMLFormattedTextP.h"
  16.  
  17. typedef struct _SGMLAnchorTextClassPart{
  18.  
  19.   int ignore;  /* no new class elements */
  20.   
  21. } SGMLAnchorTextClassPart;
  22.  
  23. typedef struct _SGMLAnchorTextClassRec{
  24.  
  25.     ObjectClassPart     object_class;
  26.     SGMLTextClassPart          sgml_text_class;
  27.     SGMLFormattedTextClassPart sgml_formatted_text_class;
  28.     SGMLAnchorTextClassPart   sgml_anchortext_class;
  29.  
  30. } SGMLAnchorTextClassRec, *SGMLAnchorTextObjectClass;
  31.  
  32. extern SGMLAnchorTextClassRec sGMLAnchorTextClassRec;
  33.  
  34. typedef struct _SGMLAnchorTextPart {
  35.  
  36.     String              href;    /* pointer to href */
  37.     String              name;    /* pointer to name */
  38.     int                 href_length;   /* length of href */
  39.     int                 name_length ;  /* length of name */
  40.     SGMLRendition       visited_rendition;
  41.     Boolean             visited;
  42.  
  43. } SGMLAnchorTextPart;
  44.  
  45. typedef struct _SGMLAnchorTextRec {
  46.     ObjectPart        object;
  47.     SGMLTextPart           sgml_text;
  48.     SGMLFormattedTextPart  sgml_formatted_text;
  49.     SGMLAnchorTextPart     sgml_anchortext;
  50. } SGMLAnchorTextRec;
  51.  
  52. #endif SGMLANCHORTEXTP_H
  53.